package com.vidyu.datalayer.dataaccesscomponents;

import com.vidyu.businesslayer.businessentities.Contractor;
import com.vidyu.businesslayer.businessentities.Employer;

/**
 * Created by IntelliJ IDEA.
 * User: eyalsa
 * Date: 28/02/12
 * Time: 14:37
 * Dao object for MonitorEvent
 */
public interface EmployerDao {
    long save(Employer employer);
    void update(Employer employer);
    Employer findById(long id);
    Employer getEmployerByEmail(String email);
    Employer getEmployerByEmailAndPassword(String email, String password);
}
